import numpy as np
import cv2,time


v1 = np.load('train_data_v2.npy')

for data in v1:
    img = data[0]
    action = data[1]
    cv2.imshow('test',img)
    print(img.shape)
    print(action)
    if cv2.waitKey(25) & 0xFF == ord('q'):
        cv2.destroyAllWindows()    